﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class MainMasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Page.Title = "Cofico 25/8";
        //string url = Request.RawUrl.ToLower();
        //Response.Write(url);
        //if (url.Contains("about.aspx"))
        //{
        //    Response.Write("trang about");
        //    WB.Library.CookieManager.setCookie(Page, "CurrentPage", "liAbout");
        //}
        //else if (url.Contains("product"))
        //{
        //    Response.Write("trang product");
        //    WB.Library.CookieManager.setCookie(Page, "CurrentPage", "liProduct");
        //}
        //else if (url.Contains("news"))
        //{
        //    Response.Write("trang news");
        //    WB.Library.CookieManager.setCookie(Page, "CurrentPage", "liNew");
        //}
        //else if (url.Contains("contact"))
        //{
        //    Response.Write("trang contact");
        //    WB.Library.CookieManager.setCookie(Page, "CurrentPage", "liContact");
        //}
        //else
        //{
        //    WB.Library.CookieManager.setCookie(Page, "CurrentPage", "liHome");
        //}
      
    }
   
}
